package com.ym9527.jpa;

import com.ym9527.entity.Course;
import com.ym9527.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;


public interface CourseJpa extends JpaRepository<Course,Long> {

    List<Course> findByCreateTeacherId(Long createCourseId);

}
